Digital controller for fuel injection with microcomputer

ABSTRACT

A digital controller for fuel injection of internal combustion engines comprising a logic signal shaping circuit; an analog data acquisition circuit; a microcomputer incorporating a clock and memories; a circuit controlling injector opening timer and a second control circuit for accessories.

BACKGROUND OF THE INVENTION

The present invention relates to a digital controller for electronic injection.

Electronic injection offers advantages to the automobile with respect to both pollution and fuel consumption. This fact no longer needs demonstrating.

However, two conditions are imperative for the realization of a working injection system: for one, the precision of metering the fuel must be high and not variable with time or between components and, for the other, the equipment used must be reliable and low in cost.

One type of component having recently made its appearance in electronics is capable of helping to solve these two problems: that is, the integrated microcomputer. Actually, microprocessors have permitted resolution, in a satisfactory and economical manner, of many problems of this type. Still, there is a drawback: it is necessary, in order to use a microprocessor, to add to it many elements: read-only memories, storage memories, clocks, input-output peripherals, etc.

Microcomputers, for their part, have all these elements integrated on a single silicon wafer, and so in a single housing.

SUMMARY OF THE INVENTION

The present invention relates to a digital controller for electronic injection constructed around such a component. Moreover, the design of the overall circuit is such that the number of elements necessary for handling input signals and amplifying output signals is low. This is possible thanks to the utilization of special integrated circuits and hybrid assembly techniques, to the extent that the designing has been done in this direction which is the case for the invention.

Another advantage of the invention is the use of a programmed element. The microcomputer, as is known, has its function defined uniquely by the program written into it. It is the same then for the controller constructed on the basis of this microcomputer. Thus, a change in the motor corresponding to a variation if not in the rules of calculation, at least in the built-in parameter values, does not entail a modification of the arrangement. The only change is in the mask at the moment of fabricating the integrated circuit constituting the microcomputer, something which has become common practice in the semiconductor industry. The controller, the object of the invention, therefore has the flexibility making it universal vis-a-vis motors of different types with the same number of cylinders.

The principle utilized for control of the motor is well-known to one skilled in the art.

A sensor of the mass flow of air furnishes a reading which permits direct calculation of the amount of gasoline to be introduced into the motor. This quantity of fuel is introduced with the help of electromagnetic injectors open for a controlled time during each half-revolution of the engine. The injection is performed cylinder by cylinder, each injector being separately controlled. In addition the controller, the object of this invention, likewise activates two accessories, a cold-start injector as well as the fuel pump.

The calculation of the amount of gasoline is done by multiplying three factors together:

the mass of air M_(a) present in the cylinder,

the richness r of the mixture,

the slope K_(i) of the injector characteristic, i.e. the quantity of fuel injected during a unit opening.

The final result is directly the duration of injector opening: z=M_(a) ×r×K_(i).

The richness r is held constant in theory. However, certain limited conditions of operation demand an enrichment to ensure proper functioning of the motor:

the startup phase in which the enrichment is a function of the coolant temperature T_(A). This phase corresponds to the activation of the starter DEM. In addition, the startup injector must be actuated during this time if the temperature T_(A) is very low,

the warm-up phase, with an enrichment depending on the temperature T_(A). This enrichment is halted above a certain temperature,

the idling phase, detected by the simultaneous low motor speed and low rate of air intake. There is an enrichment during this phase,

the deceleration phase, in which there is an enrichment if a low rate of air intake is detected at high motor speed,

a full-load phase, the enrichment being produced by closure of a switch on the throttle axis activated when the throttle is wide open,

an acceleration phase, when the increase in the amount of air admitted is large from one cylinder to the next, and enrichment is triggered, the amount of which decreases slowly with time until it becomes zero.

For this mode of calculation the controller must be furnished certain data:

the amount of air M_(a) per cylinder, also called filling,

the motor speed, generally in the form of a series of pulses synchronous with cylinder firing times,

the temperature of the motor coolant,

a signal indicating activation of the starter DEM,

a full-throttle signal by way of the switch mentioned above.

The controller determines on each motor revolution the injector opening time.

It must also provide the command. To give the order initiating opening, the firing pulses obtained from the breaker are utilized. Still, the injection being effected separately cylinder by cylinder, a cylinder reference pulse is needed to determine the order of injection. This pulse, obtained at spark plug no. 1, constitutes a supplementary parameter to be furnished to the controller.

The motor air filling, denoted by M_(a), is determined from the reading of the instantaneous air flow by integration of this reading between two consecutive motor reference points. The integration time is thus a function of motor speed. This integration is realized in the very heart of the circuit doing the analog-to-digital conversion. There is used for this a data acquisition circuit such as is described in the French Pat. No. 77/00560 of Jan. 11, 1977 by the present Applicant, herewith incorporated by reference, for "analog data acquisition device for digital controller for automobiles", in a monolithic version since the set of components is amenable to integration.

Finally, the controller must be able to drive the injectors according to a current cycle comprising a fixed pull-in time with an exponential rise in current and a variable holding time with constant current such that the sum of the pull-in and holding times is equal to the time determined by the controller. The principle of such a control is described in the French Pat. No. 76/33533 of Nov. 5, 1976 by the present Applicant, herewith incorporated by reference, for "arrangement for control by current programming of several electrovalves with asynchronous operation simultaneous or not."

Finally, the controller must provide for activation of the startup injector and control of the electric fuel pump by the intermediary of a relay.

The general structure of the controller, conforming to the invention, is as follows. The whole thing is built around two buses, like all information processing systems: a data bus carrying eight binary digits in parallel and a control bus carrying all the sequential signals for the functioning of the elements. These are configured around the microcomputer to form:

a logic signal shaping circuit, realized from discrete components,

an analog data acquisition circuit composed of a special integrated circuit,

an injector control circuit made with hybrid techniques, and

an accessory control circuit realized with discrete components.

The details of all these elements will be considered point by point.

The analog parameters which enter are the mass flow of air and the temperature. These data are introduced into a data acquisition circuit controlled by the microcomputer by the intermediary of the control bus, the microcomputer sending its result out on the data bus. The logic inputs, i.e. the breaker, the spark sensor, the full-throttle switch and the starter signal, are passed through shaping amplifiers to the microcomputer control bus.

An injector control circuit has a first part called the logic part, capable of transforming the number on the microcomputer bus into an opening time: the control signals for this circuit are obtained from the control bus. There exist so-called "tuner" circuits for performing this function which have several programmable down counters. An example is the 8293 circuit made by INTEL.

The second part, called the driver, is constructed on the principle of the arrangement constituting the object of the French Pat. No. 76/33533 of Nov. 5, 1976. A final circuit comprising two power elements wired as simple switches provides, in cooperation with the control bus, actuating signals for the auxiliary elements, viz. the fuel pump and the startup injector.

The microcomputer, then, is the central element of this system. The circuit having served as the basis of the arrangement which is the object of the invention is the 8048 microcomputer of the INTEL Company. But there are other microcomputers available or on the way in the laboratories of the semiconductor manufacturers. The use of another microcomputer poses no problem because of the similarities, both in principles and in fabrication, between the products of the different manufacturers. The elements making up a microcomputer are the following: a central unit assuring the automatic sequencing of the program as well as the performance of the arithmetic and logical operations, a read-write memory permitting storage of data in the course of the program, a nonvolatile read-only memory containing the calculation program as well as the different constants, a clock circuit stabilized by an external quartz crystal, an event counter for defining step voltages of given duration and input-output circuits with memory providing communication with the peripheral components. The data bus is standard and well-known to users of microcomputers.

The control bus, on the contrary, is different. It comprises the clock, the data bus read and write signals and a number of signals obtained at the microcomputer input-outputs and intended for control of the peripheral elements. This structure has many advantages. In addition to those already cited, reduced cost and increased reliability, there should be noted the flexibility in use since the numerical aspect of the device does not enter into its construction. In fact, the computer thus constructed can be applied to differently cylindered engines without modification in structure, the numerical values being introduced into the read-only memory. Moreover, and this advantage is tied to the employment of numerical techniques, the number of final adjustments in fabrication is very small, which is another source of cost reduction and diminution in the possible causes of deterioration in the course of operation.

BRIEF DESCRIPTION OF THE DRAWINGS

A more complete appreciation of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:

FIG. 1 represents in block diagram form a mode of realization of the complete controller of the invention,

FIG. 2 shows in greater detail the logic data acquisition or shaping circuit,

FIG. 3 shows in greater detail the analog data acquisition circuit utilized in the controller of FIG. 1,

FIG. 4 represents the circuit controlling the opening time of the injectors,

FIG. 5 shows the circuit for controlling the accessories or the amplifier circuit; and

FIG. 6 represents the microcomputer which is the center of the controller of the invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

The embodiment described below relates to a controller for a six-cylinder engine. The principle is the same. Only the number of input-outputs is different. There are six injectors to be individually controlled. The mass flow of air is gauged by two distinct sensors analyzing each row of three cylinders and the down count in time is given by two breaker signals spaced apart by 150° of the crankshaft, RUPT 1 and RUPT 2, each corresponding to a row of three cylinders. The extrapolation from the six-cylinder example described is simple since it consists of a reduction in the number of input-outputs.

Referring now to the drawings, wherein like reference numerals designate identical or corresponding parts throughout the several views, and more particularly to FIG. 1 thereof, FIG. 1 shows the framework of the controller of the present invention. A shaping circuit 1 receives the logic signals coming from the motor: "RUPT 1" and "RUPT 2" at its inputs 2 and 3 correspond to the instants of firing of spark plugs in rows 1 and 2 respectively; "DETR" at its input 4 corresponds just to the moment of firing of spark plug no. 1; "DEMA" at its input 5 corresponds to activation of the starter and "PCH" at its input 6 corresponds to the closing of the full-throttle switch. The circuit 1 generates the corresponding signals which are applied to the controller by the intermediary of a control bus 7. Finally, this circuit is powered at 8 by a general supply 9 receiving the battery voltage U_(bat) and generating a stabilized voltage V_(s) of +5 V on line 10. The reference voltage needed for good operation of this supply is furnished at 11 by data acquisition circuit 12. This receives at its differential inputs 13 a signal "DEB 1" coming from the flow sensor placed upstream of cylinders 1, 2, 3; at 14 a signal "DEB 2" coming from the flow sensor placed upstream of cylinders 4, 5, 6; at 15 a signal "TEMP" from a temperature sensor on the motor cylinder head and at input 16 a reference voltage generated by the circuit itself and available at its pin 17. The circuit 12 is powered directly from the battery at its input 18, for its analog portion, and by the voltage V_(s) at its input 19. It puts out signals on the data bus 20 and is controlled from control bus 21. An injector control circuit 22 receives the calculation result over data bus 20 at 23 at a time set by control bus 7 at 24. The supply voltage V_(s) at 25 enables driving the six injectors INS 1 to INJ 6 from its outputs 26 to 31. An amplifier 32 receives on control bus 7 the information necessary for controlling the accessories, fuel pump POM and cold-start injector INJ D, which are powered from outputs 33 and 34 by the supply voltage U_(bat) applied at 35. The microcomputer 36 itself is powered by V_(s) at 37 and is connected to the data bus 20 at 38 and to the control bus 7 at 39.

Before explaining the operation of the controller, each part of it will be described in detail.

FIG. 2 shows the details of the shaping circuit 1. The signals RUPT 1 and RUPT 2 are treated in the same manner. The signal RUPT 1 is applied via a resistor 40, a ZENER diode 41 and a diode 42 on the one hand to a network of three components in parallel, ZENER diode 43, resistor 44 and capacitor 45 connected to ground, and on the other hand to the input of an antiparasitic arrangement 46. This is composed of two single shots in tandem, the first 47 being retriggerable and having an on-time fixed by a resistance 48 and a capacitance 49, the second 50 being non-retriggerable and connected to the noninverting output of the first signal shot 47, the duration of the output pulse of single shot 50 being fixed by a resistance 51 and a capacitance 52. This antiparasitic arrangement has two outputs, an inverting one 53 and a noninverting one 54. RUPT 2 is handled in the same manner: a circuit comprising a resistor 55 in series with a ZENER diode 56 and a diode 57 feeds, on the one hand, a grounded parallel connection of a ZENER diode 58, a resistor 59 and a capacitor 60 and on the other hand, to an antiparasitic circuit 61 identical to circuit 46 and having two outputs, an inverting one 62 and a noninverting one 63. The signal DETR synchronous, as indicated above, with the firing of spark plug no. 1, is furnished by a transformer placed on the spark plug cable in the example given. But there are other sensors which can do the job. The signal is applied, on the one hand, to an RC circuit (resistor 64, capacitor 65) connected to ground and, on the other, via a series diode 66 to the input of an antiparasitic circuit 67 identical to circuits 46 and 61. The input to this circuit is also connected to ground through a ZENER diode 68 and a resistor 69. The circuit 67 has an inverting 70 and a noninverting output 71.

The signal PCH, called the full-throttle signal, comes from a switch one contact of which is connected to +U_(bat). The other contact of the said switch is connected via a resistor 72 to the input of an inverter 73, this input likewise being connected to ground through a network made up of a Zener diode 74, a resistor 75 and a capacitor 76. The signal DEMA, which is of the same type since it is obtained at the terminal of the starter solenoid, is treated in the same way: the midpoint of a bridge formed, on the one hand, by a resistor 77 and, on the other, by a combination of a resistor 78, capacitor 79 and ZENER diode 80 and driven by the input signal DEMA, is applied to the input of a logic inverter 81.

The control bus 7 connected to the outputs of the shaping circuit 1 carries, then, the signal DEM from the output of inverter 81, the signal PC from the output of inverter 73, the signal DET from the noninverting output 71 of antiparasitic circuit 67, the signal SY₁ from the noninverting output 54 of antiparasitic circuit 46 and two other signals consisting of the NAND function for INT and NAND for INT of the inverting outputs 53 and 62 of the antiparasitic circuits 46 and 61. These logic functions are realized with a NAND gate 82 and an inverter 83.

The operation of this arrangement is as follows: the input networks 40 to 45 for the signal RUPT 1, for example, are intended to limit the amplitude of the input signals and thus protect the elements of circuit 46.

When a pulse with numerous spikes appears, the first single shot 47 is triggered and remains on until after the last spike. It triggers the second shot 50 at the appearance of the first pulse at its input, and because it remains on during all the after spikes, it prevents the second single shot 50 from producing a parasitic pulse. The time fixed by the resistance 48 and the capacitance 49 is longer than that determined for the second single shot by the resistance 51 and capacitance 52.

The different signals of the control bus 7 are then, chronologically: INT and INT, inverses of one another, active at each firing. The signal SY₁, synchronous with INT and active at each firing in row 1 and the signal DET, active at each firing of plug no. 1. PC and DEM are static signals. PC=0 when the motor is at full throttle, DEM=0 when the starter is activated. The role of the components placed at the input (40 to 45, 55 to 60, 64 to 69, 72 to 75 and 77 to 80) is to protect the inputs of active elements against overvoltages and parasitics.

FIG. 3 represents the data acquisition system, such as that described in the French Pat. No. 77/00560 of Jan. 11, 1977, herewith incorporated by reference.

The analog inputs DEB 1, DEB 2 and TEMP are applied to a differential four-channel multiplexer 84, the fourth input 85 being tied to the internal reference voltage. This multiplexer is controlled through its address inputs 86 and 87 and furnishes at its outputs 88 and 89 the signals selected through the said addresses. A rectifier 90 delivers two signals, an indication at its output 71 of the sign of the input voltage and at its differential outputs 92 and 93, a voltage equal to the absolute value of the input voltage. A differential amplifier 94 eliminates the common mode of this voltage and applies the result present at its output 95 to the voltage-to-frequency converter 96. The latter drives the clock input 97 of a ten-binary-digit up-down counter 89 the count input 99 of which is connected to the sign output 91 of rectifier 90. The up-down counter 98 has an input 100 called "count-memorization" and applies its ten outputs to the inputs of a bus adapter 101. The eight outputs of this adapter, denoted B_(o) to B₇, are tied directly to the micro-computer or data bus 20. The adapter 101 has two control inputs: an input for selection of the weight of the word at output 102 and a validation input 103 for the bus outputs which are of three-state type. Finally, the voltage-to-frequency converter 96 has an internal reference voltage available at its output 104 and applied to input 85 of multiplexer 84.

The data acquisition circuit functions as follows: the input data, applied to the multiplexer 84 and selected by an address A₂, A₁ at the inputs 86 and 87 of this same multiplexer, is present in absolute value and without common mode at the output 95 of the differential amplifier 94 after passing through the rectifier 90. The voltage-to-frequency converter 96 then delivers a frequency proportional to this voltage, which frequency, applied to the clock input 97 of up-down counter 98, serves it as counting frequency. The sign of the count is controlled at the input 99 of the said counter by the sign of the input signal generated at the output 91 of the rectifier 90. The input called "Measure" ME 100 of the up-down counter 98 is such that, activated, it causes a reset to zero, then commands counting to proceed up to its deactivation, at which time it causes the result to be placed in memory. The step voltage applied to the input 100, ME, thus determines the time of counting the input frequency and thus the time of numerical integration of the input signal to multiplexer 84. The bus adapter 101 realizes the passage of ten binary digits from the output of the counter 98 into eight binary digits on the microcomputer bus 20. The word thus is decomposed into two parts, a low-weight portion and a high-weight portion, selected by the address AD applied to 102. The word selected appears at the output only when the signal LE is zero, this signal applied to 103 being the validation command of the three-state gates at the output of the bus adapter 101.

The connections of the control bus 7 thus are the following:

Ao, A₁, at 86 and 87 of the multiplexer 84 and effecting the selection of the voltage measured,

ME, at 100 of the counter 98 and controlling the duration of the measurement,

AD, LE, at 102 and 103 of the bus adapter 101 and controlling the selection of the output word and its application to the data bus 20.

The function of this arrangement is double: if the numerical integration of a data variable takes place during a constant time, a measurement of the mean value of this data during the said constant time is effected; this is the case for the temperature and the reference voltage permitting calculation of a calibration coefficient for the arrangement.

If the integration takes place during a variable time, between two successive plug firings for instance, the integral of the magnitude during the interval considered is calculated; this is the case for the mass flow which furnishes directly a valve of the filling M_(a) of the motor with air, after this integration.

FIG. 4 represents the element controlling the injectors, indicated by 22 in FIG. 1. This circuit, though realized in a different manner, utilizes the principle of control of several electrovalves disclosed in the French Pat. No. 76/33533, herewith incorporated by reference. Two down-counter circuits 105 and 106, each containing three down-counters, are used. They each receive inputs from the data bus 20 as well as certain control signals from the control bus 7. The circuits 105 and 106 are standard ones available commercially, cf. INTEL 8253. They comprise, as mentioned above, three down-counters to which may be applied the numerical values present on data bus 20. The entry of the data into one of the down counters is done by activating one or the other of the circuits 105 and 106 by their selector inputs 107 or 108, then by the choice within the circuit of one of the down counters via the two address leads 109 and 110 or 111 and 112. The moment of reading is fixed by the presence of a pulse at the writing input 113 or 114 and the down-count clock is applied to the clock input 115 or 116. Every down counter in the circuit has an output. There are then six down-counter outputs 117 to 122, each output controlling a driver amplifier. These amplifiers 123 to 128 are all identical, which is why only one of them is shown in detail. Two circuits are common to the system, one being a single shot 129 triggered by the signal INT of control bus 7 and having a pulse duration fixed by a capacitance 130 and a resistance 131. This single shot controls, on the one hand, the six amplifiers 123 to 128 directly from its noninverting output 132 and, on the other hand, the base of an NPN transistor 133 through a resistor 134 from its inverting output 135. The emitter of transistor 133 is grounded and its collector goes to ground through a resistor 136 and capacitor 137 in parallel and to positive supply voltage through a resistor 138. The collector of transistor 133 likewise drives the set of six amplifiers 123 to 128 which are, on the other hand, all connected by another of their inputs to the midpoint of a resistive divider between ground and positive supply voltage formed by the two resistors 139 and 140. Each amplifier 123 to 128 thus has four inputs, indicated only for amplifier 123: an input 141 tied to the corresponding output of the down counter 105, an input 142 from the output 132 of the single shot 129, an input 143 tied to the collector of transistor 133 and an input 144 tied to the midpoint of the resistive divider 139-140. The details of an amplifier circuit are as follows: the signal present at the input 141 drives, on the one hand, the base of a transistor 146 via a resistor 145 and, on the other hand, the clock input of a flip-flop 147. The signal at input 143 is applied by way of an analog switch 148 and a resistor to the collector of transistor 146, along with the signal at 144 through another switch 149 and another resistor. These two switches are controlled respectively by the noninverting 150 and the inverting output 151 of the flip-flop 147, reset to zero by the signal present at the input 142 of amplifier 123.

The collector of transistor 146, the emitter of which is grounded, drives the noninverting input of an operational amplifier 152 the output of which is connected to the base of an NPN transistor 153. The collector of this transistor forms the output of amplifier 123, i.e. the point of connection to the injector, and its emitter is connected, on the one hand, to ground through a resistor 154 and, on the other, to the inverting input of amplifier 152 via a resistor 155. A capacitor 156 is connected between this same input and the output of amplifier 152.

The operation of the circuit depends on the signals applied by the control bus 7. The activation of an injector is initiated by a signal INT, then a few microseconds later, by the appearance of a signal at one of the outputs 117 to 122 of the counter circuits 105 and 106. In effect, the signal INT starts generation of the following sequence of signals at the microcomputer: the number representing the time of opening present on the data bus 20, the address of the counter involved fixed by the signals IA_(o), IA₁, CS₁, CS_(o) applied to the inputs 107 to 112, application of a pulse by EC to the write inputs 113 and 114 of the counters. This sequence starts the down counting of the clock signal H applied to inputs 115 and 116 and, consequently, the appearance at the output of the selected down counter of the step voltage lasting for the calculated opening time. This step voltage, in negative logic in the case of the 8253 circuit, is applied to the inputs of amplifiers 123 to 128. Supposing output 117 to be activated, amplifier 123 is the one used and explanation is thus made easier. Simultaneously with the application of the step voltage to input 142, the single shot 129 delivers a rectangular pulse to the input 142 of amplifier 123 and an exponential pulse, due to the charging of capacitor 137, to the input 143. Input 144 receives a constant voltage fixed by the resistive divider 139-140. The falling leading edge of the signal at 141 frees the transistor 146 and sets to one the flip-flop 147 reset some microseconds earlier by the signal at 142. As a result, the exponential voltage at 143 is applied to the input of the combination - amplifier 152, transistor 153, resistors 154-155, capacitor 156 - constituting a voltage-to-current converter. Consequently, the current to the injector is exponential. When the pulse generated by the single shot 129 ends, the flip-flop 147 is reset to zero via 132 and 142 and the switch 149 is closed, switch 148 being open. The voltage applied is then constant, as is the current going to the injector. When the pulse at the output 117 of the counter 105 disappears, transistor 146 becomes conducting again and the voltage at the input to the voltage-to-current converter goes to zero, as also, then, does the current to the injector which closes. Thus, the sequence pull-in current-holding current is strictly observed, and this during the time calculated by the computer as the opening time for the injector. The circuit described is optimized so as to do the job with the minimum number of components. The actual realization is done by hybridizing the set of components, excepting the two counting circuits 105 and 106. At this level, the utilization of a hybrid circuit has three advantages: increased reliability, lowered cost and ease of maintenance.

FIG. 5 represents the amplifier 32 for driving the accessories. For one, the fuel pump control circuit: a transistor 157 receives at its base via a resistor 158 the signal POMP from control bus 7. The collector of this transistor is tied by a resistor 159 to the positive battery terminal and drives the base of a PNP transistor 160. This has its emitter grounded and its collector controls the charging, i.e. the relay operating the fuel pump. For the other, the control circuit for the startup injector is identical. A transistor 161 with its base driven through a resistor 162 has its emitter grounded and its collector tied, on the one hand, to the positive battery terminal via a resistor 163 and, on the other, to the base of a PNP transistor 164 driving the startup injector.

In both instances, since the circuits are identical, the operation is the same: when the input signal from control bus 7 is a positive voltage, the steering transistor 161 (or 157) conducts along with the output transistor 164 (or 160) which thus enables current to flow to the injector.

FIG. 6 represents the microcomputer, denoted by 36 in FIG. 1. This microcomputer is in the form of a monolithic integrated circuit 165 with which two discrete components are associated: a quartz clock oscillator crystal 166 and a capacitor 167. Every connection of the eight-binary-digit data bus 20 and of control bus 7 has its origin in the microcomputer which, in the example described, is the 8048 circuit of the INTEL Company. The input and output designations for the circuit are those used in this Company's publications.

The data bus 20 is connected to the eight outputs of the data bus 168 of the microcomputer. The other connections form the control bus 7. The data read and write commands LE and EC on bus 7 are connected directly to the outputs RD 169 and WR 170 of the microcomputer. The interrupt input 171 receives the signal INT generated by the logic 1 data acquisition circuit, just as the testable input T. 172 receives the synchronization signal. Finally, a pin 173 designated ALE puts out a fixed frequency signal H from the quartz clock. This signal is applied to the clock connection of the control bus and serves for down counting the time of injection in the down counters 105 and 106 of the output circuit 22 illustrated in FIG. 4.

The microcomputer 165 has, in addition, two sets of eight-binary-digit input-outputs 174 and 175. Each pin can be used indifferently as input or output according to the programming. The first set 174 is used in its entirety and receives the connections A_(o), A₁, ME, AD of data acquisition circuit 12, DET, PC, DEM of the shaping circuit 1 and IA_(o) going to the output circuit 22. The second set 175 is only partially used. It receives the connections IA₁, CS_(o), CS₁ to the output circuit 22 and INJ DE and POMP to the amplifier circuit 32. The three unused connections are available for possible extensions of the controller functions.

The overall operation of the controller is fixed by the program deposited in the read-only memory of the microcomputer. The calculation sequence is as follows: when the motor, by its ignition system, generates a spark, the shaping circuit 1 receives a pulse at one of its inputs RUPT 1 or RUPT 2 and generates a pulse on INT via inverter 83. Depending on the row of the cylinder fired, this pulse is or is not accompanied by a pulse at the output SY, and at the output DET, as has been explained above. The microcomputer 165, when it receives an interrupt pulse INT, stops in its program according to a standard procedure and examines its inputs SY₁ and DET to determine the row of the cylinder fired in order to activate the appropriate injector by the sequence described in the paragraph relative to the injector control amplifier 22.

The calculation sequence extends over several cycles, i.e. during the sequence, several INT pulses are applied. This sequence is as follows: a first measurement phase corresponds to the measurement of the motor air filling M_(a). For this, the microcomputer determines the appropriate address for A_(o) and A₁ of the input multiplexer 84 in FIG. 3. Then it activates the signal input ME 100 in FIG. 3 for the time period between two INT signals, i.e. during the time of filling a cylinder with air. At the end of this time the signal ME is deactivated and the result is applied to the data bus 20 by the command of the signals AD and LE. The result is placed in a read-write memory of the microcomputer. The next phase is a measurement of the temperature or of the reference voltage depending on the case, the two measurements being alternated. The same signals are applied in sequence. Only, the signal ME is different. In fact, it must be activated for a constant time, the said time being determined by counting the internal clock signal in the counter provided within the microcomputer. The result of the measurements is placed in other read-write memories of the microcomputer. The next phase is that of the calculation proper. The microcomputer tests the input DEM which, generated by circuit 1, indicates whether the starter is being used and, depending on the result, calculates the coefficient for warmup or startup as a function of temperature. Next, the microcomputer tests the input PC generated by circuit 1 and which is activated when the motor is at full-throttle. Similarly, tests of the value of the filling placed in memory, as well as the value of motor speed calculated by counting the internal clock frequency between two breaker signals (period meter), determine the value to be used for the coefficient of transient regimes, acceleration and deceleration, or the idling phase. The coefficients to be applied in these cases are deposited in the controller's read-only memory and thus are fixed once and for all. The next step in calculation is the multiplication of the air filling by the desired richness (which is a constant in the read-only memory), then by the various coefficients previously calculated and, finally, by the correction coefficient for input gain obtained from the reference voltage measurement. The result thus determined is placed in memory and is applied to the injectors at the next appearance of the INT signal. Actually, two identical calculations are done alternately, those for cylinder row no. 1, on the one hand, with measurement of DEB 1 by the acquisition circuit 12, then those for row no. 2 with measurement of DEB 2, on the other.

The startup injector, controlled by the signal INJ DE, is activated at the same time as the starter, after test of the temperature by the computer. If it is too high, the startup injector is not activated. Finally, the fuel pump is started as soon as the controller is turned on and the computer tests the motor speed to cut the pump supply (by the signal POMP) when the speed goes to zero. This function is a safety feature in case of an accident.

Obviously, numerous modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein. 

What is claimed as new and desired to be secured by Letters Patent of the United States is:
 1. A digital electronic controller for controlling the duration of fuel injection for an internal combustion engine comprising:a programmed microcomputer; a data acquisition system associated with the microcomputer; a shaping circuit serving as an interface between signal inputs and the microcomputer; a driver for electrovalves associated with injectors of the internal combustion engine; an amplifier connected to the output of the microcomputer as a driver circuit for accessories; first bus means connected to the shaping circuit, the data acquisition system, the microcomputer and the electrovalve driver for carrying control signals between the shaping circuit, the data acquisition system, the microcomputer and the electrovalve driver; second bus means connected to the data acquisition system, the microcomputer and the electrovalve driver for carrying data between the data acquisition system, the microcomputer and the electrovalve driver; wherein when the microcomputer receives an interrupt pulse (INT) generated by the shaping circuit when a cylinder of the internal combustion engine is fired, it stops in its program and examines its inputs to determine the row of the cylinder fired and activates the corresponding injector, and the calculation sequence of the program in the microcomputer extends over several cycles, i.e. during the sequence several pulses (INT) are generated; the microcomputer and the data acquisition system including means for measuring, during a first phase the air supply (M_(a)) to the motor by counting between two successive interrupt pulses; and means for measuring during a second phase the temperature of the motor cylinder head and a reference voltage alternately, the air supply and temperature measurements being alternated; and wherein said microcomputer determines the optimum duration of the opening of said injectors by multiplying said air supply measurement (M_(a)) successively by a richness factor, a coefficient corresponding to the operating conditions of the internal combustion engine calculated by said microcomputer from said temperature measurement and said signal inputs, and by a correction coefficient for input gain obtained from said reference voltage measurement.
 2. The digital controller recited in claim 1 wherein:the means for measuring the air supply (M_(a)) to the motor includes a multiplexer of the microcomputer and an up-down counter of the data acquisition system wherein the microcomputer determines the proper address in the multiplexer and then activates an input to the up-down counter of the data acquisition system during the time of filling a cylinder with air.
 3. The digital controller recited in claim 2 wherein:said digital electronic controller operates to control the fuel injection for a six-cylinder internal combustion engine having said six cylinders arranged in two rows of three cylinders each wherein said air supply measurement (M_(a)) comprises two separate air flow signals (DEB 1 and DEB 2) measured by two separate sensors each monitoring one row of three cylinders; and wherein the down-count time is given by two breaker signals (RUPT 1 and RUPT 2) spaced by 150° of the crankshaft, each of the signals corresponding to a row of three cylinders, so that the shaping circuit has five logic inputs in parallel, i.e. RUPT 1, RUPT 2, the cylinder reference (DETR), full load and starter signals while the data acquisition system has at least two differential analog signals (DEB 1 and DEB 2) for the differential input multiplexer and including: an antiparasitic circuit in each of the circuits handling the first three signals for suppressing parasitic pulses, each of the antiparasitic circuits being composed of a sequence of a first retriggerable single shot and a second non-retriggerable single shot connected to the noninverting output of the first single shot.
 4. The digital controller recited in claim 3 wherein:a synchronizing signal (SY₁) of the first bus means is obtained at the noninverting output of the antiparasitic circuit associated with the signal RUPT 1 while the inverting outputs of the two antiparasitic circuits associated with the first two signals (RUPT 1 and RUPT 2) are connected to the inputs of a NAND logic gate the direct output of which furnishes a signal INT and, by the intermediary of an inverter, the signal INT for the first bus means.
 5. The digital controller recited in claim 1 wherein:the means for measuring the temperature and the reference voltage includes an internal clock of the microcomputer and an up-down counter of the data acquisition system wherein the microcomputer activates an input to the up-down counter during a fixed time determined by counting from the internal clock of the microcomputer.
 6. The digital controller recited in claim 1 wherein said second bus means is a conductor having an eight-binary-digit capacity which connects through a bus adapter the data acquisition system to the microcomputer, and to two down counters in parallel which form the input circuit to the injector driver.
 7. The digital controller recited in claim 1 wherein:the driver of the injector electrovalve includes a first single shot and a driver amplifier in association with each injector and each driver amplifier has a first input for receiving a step voltage proportional to a calculated duration of opening, a second input associated with a capacitor connected between ground and the collector of a first transistor tied to the inverting output of the first single shot, a third input connected to the midpoint of a resistive divider between battery positive and ground and a fourth input connected to the noninverting output of the first single shot for receiving a rectangular pulse from the first single shot.
 8. The digital controller recited in claim 7 including:two down counters connected to said first bus means for carrying control signals between the shaping circuit, the data acquisition system, the microcomputer and the electrovalve driver, and; wherein each power amplifier of the injector electrovalve driver includes a second transistor and a JK type flip-flop and the first input from one of the outputs of one of the two down counters is connected both to the base of the said second transistor and to the clock input of the JK flip-flop; the second input and the third input are each connected to the input of an analog switch controlled respectively by the noninverting and inverting outputs of the JK flip-flop and the switch outputs are connected in parallel to the collector of the second transistor and the fourth input is connected to the zero-reset input of the JK flip-flop.
 9. The digital controller recited in claim 1 wherein said microcomputer makes a determination of transient sequences and determines a value of a transient regime coefficient used in optimizing the duration of the opening of said injector by examining the signals present at the output of the shaping circuit and present at the output of the data acquisition system as well as those signals placed in memory during preceeding phases.
 10. The digital controller recited in claim 1 wherein said digital electronic controller operates to control the fuel injection for a six-cylinder internal combustion engine having said six-cylinders arranged in two rows of three cylinders each wherein said air supply measurement (M_(a)) comprises two separate air flow signals (DEB 1 and DEB 2) measured by two separate sensors each monitoring one row of three cylinders; andwherein said microcomputer alternately performs two identical calculations of the time of opening the electrovalves associated with the injectors, relative to the first row of three cylinders by measurement of one mass air flow signal (DEB 1) by the data acquisition circuit, then to the other row of three cylinders by measurement of the other mass air flow signal (DEB 2) by the data acquisition circuit.
 11. The digital controller recited in claim 1 wherein a startup command signal (INJ-DE) is transmitted from said microcomputer to said accessory driver amplifier by said first bus means after a test of the temperature of the motor coolant by a suitable sensor and after reception of a starter activation signal (DEM) by said microcomputer. 